package cn.tedu.tmall.admin.content.dao.mapper;

import cn.tedu.tmall.admin.content.pojo.po.CategoryPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

//@Mapper //org.mapstruct.Mapper
@org.apache.ibatis.annotations.Mapper
//必须需要一个注解让spring管理起来
public interface CategoryMapper extends BaseMapper<CategoryPO> {

    CategoryPO getCategoryByName(String name);

    default void save(CategoryPO newCategoryPO) {

    }
}
